<ui:composition template="/WEB-INF/templates/main-template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	
	<ui:define name="sidebar">
		<ui:include src="/WEB-INF/templates/public-sidebar.xhtml" />
	</ui:define>
	<ui:define name="content">
		<h:form>
			<h:outputText value="Employee Leave Cancellation" styleClass="outputTextTitle" />
			<h:panelGrid columns="1" >
			<h:panelGrid columns="6" style="border: 1px solid #d9d9d9;width: 100%" cellspacing="10">
				  <h:outputLabel value="#{msg['employeeidoremployeename.label']}" style="font-size: 12px;" />
					<h:outputLabel value=" : " />				
					<p:inplace>  
	                       <p:inputText value="xxx" readonly="true"/>  
	                </p:inplace>
					
					<h:outputLabel value="#{msg['leavetype.label']}" style="font-size: 12px;" />
					<h:outputLabel value=" : " />				
					<p:inplace>  
	                       <p:inputText value="xxx" readonly="true"/>  
	                </p:inplace>
	               
					<h:outputLabel value="#{msg['leavefrom.label']}" style="font-size: 12px;" />
					<h:outputLabel value=" : " />				
					<p:inplace>  
	                       <p:inputText value="xxx" readonly="true"/>  
	                </p:inplace>
					
					<h:outputLabel value="#{msg['leaveto.label']}" style="font-size: 12px;" />
					<h:outputLabel value=" : " />				
					<p:inplace >   
	                       <p:inputText value="xxx" readonly="true"/>  
	                </p:inplace>
	               
	                <h:outputLabel value="#{msg['leavecancellationapplieddate.label']}" style="font-size: 12px;" />
					<h:outputLabel value=" : " />				
					<p:inplace >   
	                       <p:inputText value="xxx" readonly="true"/>  
	                </p:inplace>
	                
	               
					<h:outputLabel value="#{msg['reasonforleavecancellation.label']}" style="font-size: 12px;" />
					<h:outputLabel value=" : " />				
				
	                       <p:inputTextarea value="xxx"/> 
	             
					
	                
	                <h:inputHidden /><h:inputHidden />
					<h:inputHidden /><h:inputHidden />
					<h:inputHidden /><h:inputHidden />
					
					<h:inputHidden />
					<h:panelGrid columns="2">
					<p:commandButton  value="Submit"/>
					<p:commandButton  value="Cancel"/>
					
				</h:panelGrid>
				</h:panelGrid>
				
				<h:outputLabel style="color:blue;" value="Note:Submitting the leave will automatically send email to TomailId address with reason given above.
                                     " />	
			</h:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>

